const mongoose = require('mongoose');
var mongoosePaginate = require('mongoose-paginate');

var CommentSchema = new mongoose.Schema({
    desc : String,
    commentId : mongoose.Schema.ObjectId
});

CommentSchema.plugin(mongoosePaginate);
module.exports = mongoose.model('Comment',CommentSchema);